import request from '@/utils/request'

// 查询清扫保洁导入明细列表
export function listCleaningImportDetail(query) {
  return request({
    url: '/standingbook/cleaningImportDetail/list',
    method: 'get',
    params: query
  })
}

// 查询清扫保洁导入明细详细
export function getCleaningImportDetail(id) {
  return request({
    url: '/standingbook/cleaningImportDetail/' + id,
    method: 'get'
  })
}

// 新增清扫保洁导入明细
export function addCleaningImportDetail(data) {
  return request({
    url: '/standingbook/cleaningImportDetail',
    method: 'post',
    data: data
  })
}

// 修改清扫保洁导入明细
export function updateCleaningImportDetail(data) {
  return request({
    url: '/standingbook/cleaningImportDetail',
    method: 'put',
    data: data
  })
}

// 删除清扫保洁导入明细
export function delCleaningImportDetail(id) {
  return request({
    url: '/standingbook/cleaningImportDetail/' + id,
    method: 'delete'
  })
}
